<template>
    <view class="smart-page-head">
        <view class="smart-page-head-title">process进度条</view>
    </view>
    <view class="main">
        <process :percent="p" active="true" activeColor="red" stroke-width="20" show-info="true"></process>
    </view>
    <button type="primary" @click="setProcess()">设置</button>
</template>

<script>
    export default {
        data(){
            return {
                p: 50
            }
        },
        methods:{
            setProcess(){
                console.log('setting....')
                this.p = 100;
        }
    }
</script>